import React, { Component } from 'react'
import { View, Text } from 'react-native'
import RootStore from './mobx'
import { Provider } from 'mobx-react'
import Btn from './components/Btn'

class Index extends Component {
  state = {
    num: 100
  }
  render() {
    console.log(this)
    return (
      <View>
        <Provider RootStore={RootStore}>
          <Text>跟组件</Text>
          <Btn />
        </Provider>
      </View>
    );
  }
}

export default Index;
